This page last changed on Jul 05, 2007 by smaddox.


Confluence provides statistics about its internal caches that allow you to track the size and hit ratio of each cache and tune it for better performance (if necessary). See Performance Tuning for more information.

To view the cache statistics, go to the 'Administration Console' and click 'Cache Statistics' in the left panel. There you will find a list of all objects cached within Confluence. Below is an example for one of the most frequently used caches i.e. the ContentEntityObject.

com.atlassian.confluence.core.ContentEntityObject (Alive): flush

_____________________ACCESSES__________________

Size Total Hits Not Found Expired Ratio
5000 24827480 11332536 13494944 0 45%

About the generated numbers :

Size: the max number of items in the cache (can be configured in ehcache.xml)
Accesses, Total: the number of reads from the cache
Accesses, Hits: the number of reads accessing cache where required content existed
Accesses, Not Found: the number of reads accessing cache where required content was not found
Accesses, Expired: the number of items which were evicted from the cache, due to age or replacement by new entries (timeout or expired)
Ratio: the percentage of reads which were hits

For instance to calculate Ratio :

Hits/Total x 100 = Ratio

11332536/24827480 = 0.45645131 x 100 = 45%

and to calculate Total :

Total = Hits + Not Found + Expired

24827480 = 11332536 + 13494944 + 0

flush - clears cache

The clustered versions of Confluence Confluence 2.3 use distributed cache called Tangosol Coherence.

Performance Tuning

If you need to tune your application when under high usage, you may like to review this document for suggestions.

RELATED TOPICS
Cache Statistics
Viewing and Editing License Details
Viewing System Information

Document generated by Confluence on Jul 26, 2007 22:38